| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Public Member Functions | List of all members
nkGraphics::RendererAbstractData Class Referencefinal

Encapsulates internals a Renderer can expose as a [key -> value] dictionary. More...

## Public Member Functions
| RendererAbstractData () noexcept
| ~RendererAbstractData ()
void * | get (nkMemory::StringView key) const
void | set (nkMemory::StringView key, void *value)

## Detailed Description

Encapsulates internals a Renderer can expose as a [key -> value] dictionary.

## Constructor & Destructor Documentation

## ◆ RendererAbstractData()

nkGraphics::RendererAbstractData::RendererAbstractData | ( |  | ) |
| noexcept

Default constructor.

## ◆ ~RendererAbstractData()

nkGraphics::RendererAbstractData::~RendererAbstractData | ( |  | ) |

Destructor.

## Member Function Documentation

## ◆ get()

void* nkGraphics::RendererAbstractData::get | ( | nkMemory::StringView | key | ) | const

Parameters

  key | The key assigned to the value to retrieve.

Returns
  The value associated to the key provided if existing, nullptr else.

## ◆ set()

void nkGraphics::RendererAbstractData::set | ( | nkMemory::StringView | key,
|  | void * | value
| ) |  |

Sets a value and link it to a key inside the dictionary.

Parameters

  key | The key to use.
  value | The value to assign to it.

The documentation for this class was generated from the following file:

- Documentation/Headers/NilkinsGraphics/Renderers/RendererAbstractData.h